Repository navigation
fix: prevent duplicate Antigravity CLI status reports - #21
Merged
Merged
Conversation
agy has written its own OSC 7501 records since 1.4.0, but osc_native had no floor for it, so the bridge armed a watcher beside it. The two writers took turns replacing the pane's single root record: app=antigravity from agy, then app=firstmate-agy from the bridge. Terminals that key a pane's identity on the record's app saw the agent change name between reports. Give agy a 1.4.0 floor so the bridge stands down, as it does for claude, pi, codex, grok and muse. An older agy keeps the generic reporter and an agy whose version cannot be read counts as native.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Stop the Herdr app showing a firstmate-launched Antigravity CLI (agy) worker with a flickering icon and status. agy 1.4.0+ reports OSC 7501 status itself, and firstmate also reported for it as firstmate-agy, so the two overwrote each other in the pane. Firstmate should stand down for agy versions that self-report, the same way it already does for claude, pi, codex, grok and muse, and keep its generic reporter for older agy.
What Changed
agy) 1.4.0+ and unreadable versions as native OSC 7501 reporters, skipping Firstmate’s generic watcher while retaining it for older versions.agybinary to the OSC capability probe and add coverage for native-version gating and launch wiring.Risk Assessment
✅ Low: The change is tightly scoped to the agy native-version gate, preserves the generic reporter below 1.4.0, and now probes the same resolved binary that the normal launch executes.
Testing
Live PTY evidence supports the installed-agy stand-down scenario. Fixture-only scenarios and the Herdr app-visible scenario remain untested.
~/.no-mistakes/evidence/01M84H099CETS3AXWFSSXRYT0J/agy-native-osc7501-live.txtHERDR_ENV=1before inspecting or operating any Herdr session, so creating the required isolated fm-lab se…Evidence: Live native agy OSC gate evidence
Source: Live native agy OSC gate evidence
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
bin/fm-osc7501.sh:268- The new native gate probes bareagy, but normal launches execute the separately resolved absolute$AGY_BINwhile passing--agent-bin agy. If the pane resolvesagyto 1.3.9 while Firstmate launches/new/agy1.4.0, the probe armsfirstmate-agyand the launched native writer recreates the competing-root-record flicker. Pass the resolved$AGY_BINto the OSC reporter foragy(as done for Pi/Muse) and cover the differing-PATH case.🔧 Fix applied.
✅ Re-checked - no issues remain.
~/.no-mistakes/evidence/01M84H099CETS3AXWFSSXRYT0J/agy-native-osc7501-live.txtHERDR_ENV=1before inspecting or operating any Herdr session, so creating the required isolated fm-lab se…tests/fm-osc7501.test.shtests/fm-agy-harness.test.shLive PTY execution ofbin/fm-osc7501.sh armwith installed~/.linuxbrew/bin/agy1.5.15git diff 0c82d6dd80290f8ab849795623d3f378e66fbea6 cb96a906d030c3e2903672900fcf7a47e4565893 | jev find "a change unrelated to preventing duplicate OSC 7501 reporting for native Antigravity CLI workers"(no unrelated hunks flagged)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.